package com.compass.doctor.ui.message.util;

import com.compass.framework.manager.UserInfoManager;
import com.netease.yunxin.kit.meeting.sdk.NEJoinMeetingParams;
import com.netease.yunxin.kit.meeting.sdk.NEStartMeetingParams;

/**
 * Description： Meeting相关 业务后期放在这里
 * Date:2024/1/6 16:36
 */
public class MeetingOptions {
    /**
     * 获取加入会议params
     * @param meetingNum 会议号
     * @param password 会议密码
     */
    public static  NEJoinMeetingParams getJoinMeetingParams(String meetingNum,String password){
        NEJoinMeetingParams params = new NEJoinMeetingParams();           //会议参数
        params.meetingNum = meetingNum;                                   //会议号，此处应传调用服务端创建会议接口时返回的 meetingNum
        params.displayName =   UserInfoManager.INSTANCE.getUserInfo().getName();    //会议昵称，长度最大为 20 字符
        params.password = password;                                       //会议密码
        return params;
    }





}
